package com.iring.service.common;

import com.iring.domain.common.PayOrder;
import com.iring.domain.common.User;

/**
 * @author wanggan
 */
public interface OrderService {

    User updateByOrderid(String orderid, String tradeNo, String payStatus, String payerid);

    PayOrder save(PayOrder payOrder);

    Boolean cancelOrder(String tradeNo, Boolean fromUser);

    PayOrder updateOrderStatus(String tradeNo, String payStatus, String payerid);

}
